package fivm.cross.platform.steamobj.controller;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import fivm.cross.platform.ficommon.distinguish.GsonSimpleSerializable;

/**
 * app 用例运行流程的外围控制行为
 * */


public class AppCaseTaskControlStream extends GsonSimpleSerializable {
    @Expose @SerializedName("StartupCmds")
    private CommandStream startupCmds;      //启动控制
    @Expose @SerializedName("KillCmds")
    private CommandStream killCmds;         //kill 控制
    @Expose @SerializedName("SaveSceneCmds")
    private CommandStream saveSceneCmds;         //保留现场控制

    public AppCaseTaskControlStream(CommandStream startupCmds,CommandStream killCmds,CommandStream saveSceneCmds){
        this.startupCmds=startupCmds;
        this.killCmds=startupCmds;
        this.saveSceneCmds=saveSceneCmds;
    }
    public AppCaseTaskControlStream(){
        this.startupCmds=CommandStream.genSimpleCmdMsg("startupApp","aa");
        this.killCmds=CommandStream.genSimpleCmdMsg("killApp","aa");
        this.saveSceneCmds=CommandStream.genSimpleCmdMsg("saveSceneApp","aa");
    }

    //以后有需要再这里添加
    public CommandStream getStartupCmds() {
        return startupCmds;
    }

    public void setStartupCmds(CommandStream startupCmds) {
        this.startupCmds = startupCmds;
    }

    public CommandStream getKillCmds() {
        return killCmds;
    }

    public void setKillCmds(CommandStream killCmds) {
        this.killCmds = killCmds;
    }

    public CommandStream getSaveSceneCmds() {
        return saveSceneCmds;
    }

    public void setSaveSceneCmds(CommandStream saveSceneCmds) {
        this.saveSceneCmds = saveSceneCmds;
    }
}
